
package com.thxrinfo.stop.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 路边车场地磁设备
 *
 * @author ct
 * @date 2023-02-10 11:41:34
 */
@Data
@TableName("st_lot_device")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "路边车场地磁设备")
public class LotDevice extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="id")
    private Long id;

    /**
     * 服务code(适配不同商家地磁)
     */
    @Schema(description ="服务code(适配不同商家地磁)")
    private String serviceCode;

    /**
     * 地磁编号
     */
    @Schema(description ="地磁编号")
    private String sn;

    /**
     * 泊位(车位id)编号
     */
    @Schema(description ="泊位(车位id)编号")
    private Long lotId;

    /**
     * 车场id
     */
    @Schema(description ="车场id")
    private Long parkId;

	/**
	 * 区域id
	 */
	@Schema(description ="车场id")
	private Long regionId;

    /**
     * 0未分配，1已分配
     */
    @Schema(description ="0未分配，1已分配")
    private Integer type;

    /**
     * 是否在线
     */
    @Schema(description ="是否在线")
    private Integer isOnLine;


}
